/**
 * 南昌旅游特色装饰元素
 * 用于增强视觉效果的装饰性样式
 */

/* ========== 滕王阁装饰图标 ========== */
.tengwang-icon {
  position: relative;
  display: inline-block;
}

.tengwang-icon::before {
  content: '🏯';
  font-size: 1.2em;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

/* ========== 水波纹装饰背景 ========== */
.water-pattern {
  position: relative;
  overflow: hidden;
}

.water-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 50px,
    rgba(30, 136, 229, 0.1) 50px,
    rgba(30, 136, 229, 0.1) 100px
  );
  animation: waterFlow 20s linear infinite;
  pointer-events: none;
}

@keyframes waterFlow {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}

/* ========== 城市剪影装饰 ========== */
.city-skyline {
  position: relative;
  height: 150px;
  background: linear-gradient(to top, rgba(200, 16, 46, 0.2) 0%, transparent 100%);
  clip-path: polygon(
    0% 100%,
    3% 85%,
    6% 90%,
    9% 75%,
    12% 80%,
    15% 65%,
    18% 70%,
    21% 55%,
    24% 60%,
    27% 50%,
    30% 55%,
    33% 45%,
    36% 50%,
    39% 40%,
    42% 45%,
    45% 35%,
    48% 40%,
    51% 30%,
    54% 35%,
    57% 25%,
    60% 30%,
    63% 20%,
    66% 25%,
    69% 15%,
    72% 20%,
    75% 10%,
    78% 15%,
    81% 5%,
    84% 10%,
    87% 0%,
    90% 5%,
    93% 0%,
    96% 5%,
    100% 0%,
    100% 100%
  );
}

/* ========== 南昌特色标签 ========== */
.nanchang-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 100%);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.3);
}

.nanchang-badge::before {
  content: '🏛️';
  font-size: 14px;
}

/* ========== 金色高光效果 ========== */
.gold-highlight {
  position: relative;
}

.gold-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.3),
    transparent
  );
  animation: goldShine 3s infinite;
}

@keyframes goldShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ========== 红色文化装饰 ========== */
.red-culture-decoration {
  position: relative;
  padding-left: 20px;
}

.red-culture-decoration::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #C8102E 0%, #A01D2A 100%);
  border-radius: 2px;
}

/* ========== 赣江波浪装饰 ========== */
.ganjiang-wave {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.ganjiang-wave::before,
.ganjiang-wave::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(180deg, rgba(30, 136, 229, 0.2) 0%, transparent 100%);
}

.ganjiang-wave::before {
  clip-path: polygon(
    0% 100%,
    10% 80%,
    20% 90%,
    30% 70%,
    40% 85%,
    50% 60%,
    60% 75%,
    70% 55%,
    80% 70%,
    90% 50%,
    100% 65%,
    100% 100%
  );
  animation: waveMove 3s ease-in-out infinite;
}

.ganjiang-wave::after {
  clip-path: polygon(
    0% 100%,
    15% 75%,
    25% 85%,
    35% 65%,
    45% 80%,
    55% 55%,
    65% 70%,
    75% 50%,
    85% 65%,
    95% 45%,
    100% 60%,
    100% 100%
  );
  animation: waveMove 3s ease-in-out infinite 1.5s;
  opacity: 0.6;
}

@keyframes waveMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
}

/* ========== 卡片装饰边框 ========== */
.card-decoration-border {
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.card-decoration-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #C8102E, #D4AF37, #1E88E5);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
  .city-skyline {
    height: 100px;
  }
  
  .ganjiang-wave {
    height: 40px;
  }
}

